<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>Bootstrap 101 Template</title>

    <!-- Bootstrap -->
    <link href="css/bootstrap.min.css" rel="stylesheet">

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>
  <body>
  <div class="container">
    <div class="row">
      <!--这里输入代码 -->
      <h1 class="text-center">添加鲜花</h1>
      <form action="doadd.php" method="post" enctype="multipart/form-data">
        <div class="form-group">
          <label for="ctf_title" class="col-md-2 col-xs-3 control-label">鲜花标题</label>
            <div class="col-md-10 col-xs-9">
            <input type="text" class="form-control" id="ctf_title" placeholder="鲜花标题" name="ctf_title">
            </div>
        </div>
        <div class="form-group">
          <label class="col-md-2 col-xs-3 control-label">鲜花图片文件名</label>
          <div class="col-md-10 col-xs-9">
           <input type="file" name="ctf_pic">
          </div>
        </div>
        <div class="form-group">
          <label for="ctf_place" class="col-md-2 col-xs-3 control-label"></label>
            <div class="col-md-10 col-xs-9">
            <input type="text" class="form-control" id="ctf_place" placeholder="鲜花产地" name="ctf_place">
            </div>
        </div>
        <div class="form-group">
          <label for="ctf_intro" class="col-md-2 col-xs-3 control-label"></label>
            <div class="col-md-10 col-xs-9">
            <input type="text" class="form-control" id="ctf_intro" placeholder="鲜花简介" name="ctf_intro">
            </div>
        </div>
        <div class="form-group">
          <label for="ctf_adddate" class="col-md-2 col-xs-3 control-label"></label>
            <div class="col-md-10 col-xs-9">
            <input type="date" class="form-control" id="ctf_adddate" placeholder="添加时间" name="ctf_adddate">
            </div>
        </div>
        <div class="form-group">
          <label for="ctf_hint" class="col-md-2 col-xs-3 control-label"></label>
            <div class="col-md-10 col-xs-9">
            <input type="text" class="form-control" id="ctf_hint" placeholder="点击量" name="ctf_hint">
            </div>
        </div>
        <div class="form-group">
        <label class="col-md-2 col-xs-3 control-label">
          <div class="col-md-10 col-xs-9 col-md-offset-7 col-xs-offset-7">
            <input type="submit" value="添加"></input>
            <input type="reset" value="重置"></input>
          </div>
        </div>
      </form>
    </div>
  </div>
    
    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="js/jquery/1.11.3/jquery.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="js/bootstrap.min.js"></script>
  </body>
</html>